-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore msposd_jetson for gs on jetson orin #29
base: main
Are you sure you want to change the base?
Conversation
@lida2003 what is the point in having a jetson architecture in the first place ? The only useful difference to x86 is the environment setting. |
At best you provide a cross compile integration for build.sh like all other architectures currently do. |
I got it running without any problem on jetson. But on my laptop, it seems useless. @henkwiedig Jetson has many toolchain versions. We can do this using x86 cross-compilation, but I don't know which version to use, or focused on which version. As I use remote ssh login most of time, so I add this code. And I also noticed that there is a sdk path "$(eval SDK = ./sdk/gk7205v300)", which I'm NOT sure if there is any common head files used. |
@henkwiedig Hope there is jetson gs, which is something like radax. Then it'll be much more specific cross-compile tool. |
Still don't get it. Currently the jetson architecture adds nothing to the project. Maybe we should rework build.sh do do either xcompile (goke|hisi|star6b0|star6e) or use system native build environment (x86|jetson). This could also be used on radxa when building on radxa directly. |
there are three points:
msposd_xxx, those xxx stands for target board. Normally we use buildroot to build rootfs, compiling application. There is no such name, msposd_xxx. The build.sh is a script to simple build msposd for different target, using cross compile tool or native tool to generate msposd_xxx target, then copied to release/xxx/ dir. That's what build.sh and those names for. |
I thought about modifying build.sh as follows:
Additionally, I would add the native target to the Makefile while removing the x86 and jetson targets. |
Right now, the difference is below, which is for ssh remote launch (works on jetson). But it wouldn't work on my laptop(x86). I hope it will work on other software stack (versions), as it's a common API. I don't know why it didn't work on my x86. Lines 78 to 86 in 517c55a
--- PS: here is my test environment on jetson
|
Discussion: [ Ignore msposd_jetson for gs on jetson orin OpenIPC#29 ](OpenIPC#29)
@henkwiedig I think it works on my x86. You have to test before use, as my laptop is weird about this posix API. |
Discussion: [ Ignore msposd_jetson for gs on jetson orin OpenIPC#29 ](OpenIPC#29)
No description provided.